/*
 * @Author: lixinke 530822237@qq.com
 * @Date: 2022-08-16 00:31:22
 * @LastEditors: lixinke 530822237@qq.com
 * @LastEditTime: 2022-08-16 00:52:34
 * @FilePath: \新建文件夹 (3)\crm_customer\src\service\orderservice.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import axios from "./../utils/lxkaxios"
import api from './../api'
export function Order_list({currentPage,pageSize}){
    return new Promise((resolve,reject)=>{
        axios.post(api.orderapi.Order_list,{currentPage,pageSize}).then((res)=>{
            resolve(res.data);
        }).catch((err)=>{
            reject(err);
        })
    })
}